package com.rzj.sys_lab_assistant.dao;

import com.rzj.sys_lab_assistant.entity.Assistant;
import com.rzj.sys_lab_assistant.entity.AssistantJob;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

/**
 * @program: sys_lab_assistant
 * @description:
 * @author: 作者
 * @create: 2021-07-02 20:57
 */
@Mapper
public interface AssistantJobMapper {

    List<AssistantJob> listAssistantJobs(int aId); // 根据助理编号进行查询工作内容

    AssistantJob getAssistantJobById(int jobId);

    List<AssistantJob> getAssistantJobByDate(Date time, String account);

    int saveAssistantJob(AssistantJob assistantJob);

    int updateAssistantJob(AssistantJob assistantJob);

    int deleteAssistantJob(int jobId);

}
